package com.database.daos.imp;

import java.util.List;

import com.database.daos.IStringDao;
import com.database.objects.*;

public class StringDao extends GenericDao<String> implements IStringDao {

	private static final long serialVersionUID = 6015634053252430158L;

	@Override
	@SuppressWarnings("unchecked")
	public List<String> findDatesContributionByDeveloper(Developer developer) {
		return findByNamedQueryAndNamedParam("String.findDatesContributionByDeveloper", "developer", developer);
	}

	@Override
	@SuppressWarnings("unchecked")
	public List<String> findDatesContributionByProject(Project project) {
		return findByNamedQueryAndNamedParam("String.findDatesContributionByProject", "project", project);
	}

}